package com.etc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etc.dao.PrescriptionMapper;
import com.etc.entity.Prescription;
import com.etc.service.PrescriptionService;

/**
*@Author 陈伟杰
*@Date 2018年11月19日
*@Description 
*/
@Service(value="prescriptionService")
public class PrescriptionServiceImpl implements PrescriptionService{
	@Autowired
	private PrescriptionMapper prescriptionMapper;
	/**
	 * 添加药方
	 */
	@Override
	public int insert(Prescription record) {
		// TODO Auto-generated method stub
		return prescriptionMapper.insert(record);
	}

}
